-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update; Add read parsing options #5
base: master
Are you sure you want to change the base?
Conversation
and remove unnecessary "net" permission for tests
to address type narrowing issue in Deno v1.1.0: denoland/deno#6270
and catch exceptions while determining Linux binary
Doesn't work in wsl. It gives this error:
|
@Nisgrak That means that your environment was not able to be detected as WSL. Can you provide some information about your environment?
|
|
@Nisgrak I’lll look into this more. Those executables with the Have you modified your path or installed tools which might have modified your path? |
@Nisgrak Will you try those commands using a first-party Microsoft terminal application like |
@Nisgrak That's great to hear. So everything is working now: the tests pass when you run |
Yes! Pass the 8 test in WSL and Powershell like a charm 😄. |
@rsp Thoughts? |
Maybe you should add a warning or troubleshoot in the readme about that error, or some concrete error if in you kernel version contains "microsoft" and haven't access to .exes. |
This PR resolves #3 and resolves #4.
Notes
It is technically a re-write (I wrote much of the code before discovering your repo, but found it when I encountered a Powershell issue). Instead of publishing a new Deno module, I have reviewed your code, and restructured the code in this PR to more closely align to the existing structure.
The PR focuses on addressing a few core issues:
xsel
andxclip
on Linux (in that order)An important note: the export format is changed, so the major version should be increased if published.
Previously, the methods could only be accessed on the
clipboard
export:Now, there is more flexibility for importing.
Like this:
Or like this:
Thanks for writing this module. Please review and let me know your thoughts. Cheers!